2006
Simon Budig
Import paths from an SVG string.
This procedure works like 'gimp-vectors-import-from-file' but takes a string rather than reading the SVG from a file. This allows you to write scripts that generate SVG and feed it to GIMP.
unknown
| Type | Name | Description |
|---|---|---|
| PF_IMAGE | image | The image |
| PF_VALUE | string | A string that must be a complete and valid SVG document. |
| PF_INT | length | Number of bytes in string or -1 if the string is NULL terminated. |
| PF_INT | merge | Merge paths into a single vectors object. (TRUE or FALSE) |
| PF_INT | scale | Scale the SVG to image dimensions. (TRUE or FALSE) |
| Type | Name | Description |
|---|---|---|
| PF_INT | num-vectors | The number of newly created vectors (num-vectors >= 0) |
| unknown | vectors-ids | The list of newly created vectors |